package com.swpu.select.dao;

import com.swpu.select.pojo.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface StudentMapper {
    //读取所有学生
    public List<Student> getList();

    //添加一条学生信息
    public int addStudent(Student student);
    //修改对象
    public int updateStudent(Student student);
    //删除
    public int deleteStudent(String stuNo);
}
